﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrightstarDB.EntityFramework;

namespace SmartTravelAssistant.Models
{
    [Entity("http://schema.org/Event")]
    public interface ITrip
    {
        [Identifier("http://SmartTravelAssistant.ro/Trip/")]
        string Id { get; }

        [PropertyType("http://schema.org/name")]
        string Name { get; set; }

        [PropertyType("http://schema.org/description")]
        string Description { get; set; }

        [PropertyType("http://schema.org/startDate")]
        DateTime StartDay { get; set; }

        //[InverseProperty("CreatedTrips")]
        IPerson Author { get; set; }
        
        [PropertyType("http://schema.org/location")]
        ICollection<IInterestPoint> InterestPoints { get; set; }

        //[InverseProperty("AttendedTrips")]
        [PropertyType("http://schema.org/attendees")]
        ICollection<IPerson> Attendees { get; set; }


        //[InverseProperty("CreatedTrips")]
        ICollection<IPerson> Editors { get; set; }

        
        ICollection<IReview> Reviews { get; set; }
       
        
        string Photo { get; set; }

        
        
    }
}
